﻿namespace Softserve.Pottery.Infrastructure
{
    using System.IO;

    public class PathResolver : IPathResolver
    {
        #region IPathResolver Members

        public string ResolvePath(string domainName)
        {
            //return string.Format(@"C:\PRE-FINAL\branches\PotteryProject\XML\{1}.xml", domainName);
            return string.Format(@"{0}/../../../XML/{1}.xml", Directory.GetCurrentDirectory(), domainName);
        }

        #endregion
    }
}
